package com.gasstion.dao;

import com.gasstion.entity.Goods;
import com.gasstion.entity.OilCard;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface OilCardDao {

    public List<OilCard> queryAll();

    public long getTotalCount(@Param("name") String name) ;

    public List<OilCard> querySearch(@Param("name") String name, @Param("offset") int offset, @Param("limit") int limit) ;

    public void save(OilCard oilCard);

    public void chongzhi(@Param("balance") int balance,@Param("id") int id);
}
